<?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * P2pBorrowFadada
 *
 * @ORM\Table(name="p2p_borrow_fadada", indexes={@ORM\Index(name="brid", columns={"brid"}), @ORM\Index(name="b_id", columns={"b_id"}), @ORM\Index(name="bf_contract_id", columns={"bf_contract_id"}), @ORM\Index(name="bf_isfile", columns={"bf_isfile"}), @ORM\Index(name="bf_bo_issign", columns={"bf_bo_issign"}), @ORM\Index(name="bf_pt_issign", columns={"bf_pt_issign"}), @ORM\Index(name="bf_contract_status", columns={"bf_contract_status"})})
 * @ORM\Entity
 */
class P2pBorrowFadada
{
    /**
     * @var integer
     *
     * @ORM\Column(name="brid", type="integer", nullable=false)
     */
    private $brid = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="b_id", type="integer", nullable=false)
     */
    private $bId = '0';

    /**
     * @var boolean
     *
     * @ORM\Column(name="bf_contract_status", type="boolean", nullable=false)
     */
    private $bfContractStatus = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="bf_contract_id", type="string", length=60, nullable=false)
     */
    private $bfContractId;

    /**
     * @var integer
     *
     * @ORM\Column(name="bf_contract_time", type="integer", nullable=false)
     */
    private $bfContractTime = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="bf_cancel_contract_time", type="integer", nullable=false)
     */
    private $bfCancelContractTime = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="bf_template_id", type="string", length=60, nullable=false)
     */
    private $bfTemplateId = '';

    /**
     * @var boolean
     *
     * @ORM\Column(name="bf_bo_issign", type="boolean", nullable=false)
     */
    private $bfBoIssign = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="bf_bo_sign_time", type="integer", nullable=false)
     */
    private $bfBoSignTime = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="bf_bo_sign_tansid", type="string", length=60, nullable=false)
     */
    private $bfBoSignTansid;

    /**
     * @var boolean
     *
     * @ORM\Column(name="bf_pt_issign", type="boolean", nullable=false)
     */
    private $bfPtIssign = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="bf_pt_sign_time", type="integer", nullable=false)
     */
    private $bfPtSignTime = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="bf_pt_sign_tansid", type="string", length=60, nullable=false)
     */
    private $bfPtSignTansid;

    /**
     * @var boolean
     *
     * @ORM\Column(name="bf_isfile", type="boolean", nullable=false)
     */
    private $bfIsfile = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="bf_file_time", type="integer", nullable=false)
     */
    private $bfFileTime = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="bf_addtime", type="integer", nullable=false)
     */
    private $bfAddtime = '0';

    /**
     * @var integer
     *
     * @ORM\Column(name="bf_id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $bfId;



    /**
     * Set brid
     *
     * @param integer $brid
     *
     * @return P2pBorrowFadada
     */
    public function setBrid($brid)
    {
        $this->brid = $brid;

        return $this;
    }

    /**
     * Get brid
     *
     * @return integer
     */
    public function getBrid()
    {
        return $this->brid;
    }

    /**
     * Set bId
     *
     * @param integer $bId
     *
     * @return P2pBorrowFadada
     */
    public function setBId($bId)
    {
        $this->bId = $bId;

        return $this;
    }

    /**
     * Get bId
     *
     * @return integer
     */
    public function getBId()
    {
        return $this->bId;
    }

    /**
     * Set bfContractStatus
     *
     * @param boolean $bfContractStatus
     *
     * @return P2pBorrowFadada
     */
    public function setBfContractStatus($bfContractStatus)
    {
        $this->bfContractStatus = $bfContractStatus;

        return $this;
    }

    /**
     * Get bfContractStatus
     *
     * @return boolean
     */
    public function getBfContractStatus()
    {
        return $this->bfContractStatus;
    }

    /**
     * Set bfContractId
     *
     * @param string $bfContractId
     *
     * @return P2pBorrowFadada
     */
    public function setBfContractId($bfContractId)
    {
        $this->bfContractId = $bfContractId;

        return $this;
    }

    /**
     * Get bfContractId
     *
     * @return string
     */
    public function getBfContractId()
    {
        return $this->bfContractId;
    }

    /**
     * Set bfContractTime
     *
     * @param integer $bfContractTime
     *
     * @return P2pBorrowFadada
     */
    public function setBfContractTime($bfContractTime)
    {
        $this->bfContractTime = $bfContractTime;

        return $this;
    }

    /**
     * Get bfContractTime
     *
     * @return integer
     */
    public function getBfContractTime()
    {
        return $this->bfContractTime;
    }

    /**
     * Set bfCancelContractTime
     *
     * @param integer $bfCancelContractTime
     *
     * @return P2pBorrowFadada
     */
    public function setBfCancelContractTime($bfCancelContractTime)
    {
        $this->bfCancelContractTime = $bfCancelContractTime;

        return $this;
    }

    /**
     * Get bfCancelContractTime
     *
     * @return integer
     */
    public function getBfCancelContractTime()
    {
        return $this->bfCancelContractTime;
    }

    /**
     * Set bfTemplateId
     *
     * @param string $bfTemplateId
     *
     * @return P2pBorrowFadada
     */
    public function setBfTemplateId($bfTemplateId)
    {
        $this->bfTemplateId = $bfTemplateId;

        return $this;
    }

    /**
     * Get bfTemplateId
     *
     * @return string
     */
    public function getBfTemplateId()
    {
        return $this->bfTemplateId;
    }

    /**
     * Set bfBoIssign
     *
     * @param boolean $bfBoIssign
     *
     * @return P2pBorrowFadada
     */
    public function setBfBoIssign($bfBoIssign)
    {
        $this->bfBoIssign = $bfBoIssign;

        return $this;
    }

    /**
     * Get bfBoIssign
     *
     * @return boolean
     */
    public function getBfBoIssign()
    {
        return $this->bfBoIssign;
    }

    /**
     * Set bfBoSignTime
     *
     * @param integer $bfBoSignTime
     *
     * @return P2pBorrowFadada
     */
    public function setBfBoSignTime($bfBoSignTime)
    {
        $this->bfBoSignTime = $bfBoSignTime;

        return $this;
    }

    /**
     * Get bfBoSignTime
     *
     * @return integer
     */
    public function getBfBoSignTime()
    {
        return $this->bfBoSignTime;
    }

    /**
     * Set bfBoSignTansid
     *
     * @param string $bfBoSignTansid
     *
     * @return P2pBorrowFadada
     */
    public function setBfBoSignTansid($bfBoSignTansid)
    {
        $this->bfBoSignTansid = $bfBoSignTansid;

        return $this;
    }

    /**
     * Get bfBoSignTansid
     *
     * @return string
     */
    public function getBfBoSignTansid()
    {
        return $this->bfBoSignTansid;
    }

    /**
     * Set bfPtIssign
     *
     * @param boolean $bfPtIssign
     *
     * @return P2pBorrowFadada
     */
    public function setBfPtIssign($bfPtIssign)
    {
        $this->bfPtIssign = $bfPtIssign;

        return $this;
    }

    /**
     * Get bfPtIssign
     *
     * @return boolean
     */
    public function getBfPtIssign()
    {
        return $this->bfPtIssign;
    }

    /**
     * Set bfPtSignTime
     *
     * @param integer $bfPtSignTime
     *
     * @return P2pBorrowFadada
     */
    public function setBfPtSignTime($bfPtSignTime)
    {
        $this->bfPtSignTime = $bfPtSignTime;

        return $this;
    }

    /**
     * Get bfPtSignTime
     *
     * @return integer
     */
    public function getBfPtSignTime()
    {
        return $this->bfPtSignTime;
    }

    /**
     * Set bfPtSignTansid
     *
     * @param string $bfPtSignTansid
     *
     * @return P2pBorrowFadada
     */
    public function setBfPtSignTansid($bfPtSignTansid)
    {
        $this->bfPtSignTansid = $bfPtSignTansid;

        return $this;
    }

    /**
     * Get bfPtSignTansid
     *
     * @return string
     */
    public function getBfPtSignTansid()
    {
        return $this->bfPtSignTansid;
    }

    /**
     * Set bfIsfile
     *
     * @param boolean $bfIsfile
     *
     * @return P2pBorrowFadada
     */
    public function setBfIsfile($bfIsfile)
    {
        $this->bfIsfile = $bfIsfile;

        return $this;
    }

    /**
     * Get bfIsfile
     *
     * @return boolean
     */
    public function getBfIsfile()
    {
        return $this->bfIsfile;
    }

    /**
     * Set bfFileTime
     *
     * @param integer $bfFileTime
     *
     * @return P2pBorrowFadada
     */
    public function setBfFileTime($bfFileTime)
    {
        $this->bfFileTime = $bfFileTime;

        return $this;
    }

    /**
     * Get bfFileTime
     *
     * @return integer
     */
    public function getBfFileTime()
    {
        return $this->bfFileTime;
    }

    /**
     * Set bfAddtime
     *
     * @param integer $bfAddtime
     *
     * @return P2pBorrowFadada
     */
    public function setBfAddtime($bfAddtime)
    {
        $this->bfAddtime = $bfAddtime;

        return $this;
    }

    /**
     * Get bfAddtime
     *
     * @return integer
     */
    public function getBfAddtime()
    {
        return $this->bfAddtime;
    }

    /**
     * Get bfId
     *
     * @return integer
     */
    public function getBfId()
    {
        return $this->bfId;
    }
}
